package com.example.admin.mapper;

import com.example.admin.bean.Device;
import com.example.admin.bean.DeviceData;
import com.example.admin.bean.Devicedto;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface Iotmapper {
    void adddevice(Device device);

    void fixdevice(Device device);

    void deletedevice(String device_id);

    Devicedto finddevicebyid(String deviceId);

    void adddevicedata(DeviceData deviceData);

    DeviceData finddatabyid(String deviceId);
}
